const mongoose = require('mongoose');

const schema = new mongoose.Schema({
    username: {type: String},
    password: {type: String},
    headicon: {type: String, default: ''},
    nickname: {type: String, default: '波萝粉'},
    address: {type: String, default: '未设置'}
});

module.exports = mongoose.model('User', schema);